from django.db import models

# Create your models here.
class UserTable(models.Model):
    id = models.CharField(primary_key=True,max_length=10)
    name = models.CharField(max_length=10)
    password = models.CharField(max_length=20)
    img = models.TextField()
    email = models.CharField(max_length=50)
    phoneNumber=models.CharField(max_length=20)
    class Meta:
        db_table = 'user'

class User_img(models.Model):
    user_id = models.CharField(max_length=20)
    docfile = models.FileField(upload_to='upload')

    class Meta:
        db_table = 'user_img'



